package com.felton.springboot.shrio.service.impl;

import com.felton.springboot.shrio.dao.RoleMapper;
import com.felton.springboot.shrio.entity.Role;
import com.felton.springboot.shrio.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类  名：com.felton.springboot.shrio.service.impl.RoleServiceImpl
 * 类描述：todo
 * 创建人：liurui
 * 创建时间：2020/6/10 15:34
 * 修改人：
 * 修改时间：
 * 修改备注：
 *
 * @author liurui
 * @version 1.0
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;


    @Override
    public List<Role> getRoleListByUserName(String userName) {

        return roleMapper.getRoleListByUserName(userName);
    }
}


